package com.bjpowernode.crm.workbench.service;

import com.bjpowernode.crm.workbench.domain.Remark;
import com.bjpowernode.crm.workbench.mapper.ActivityMapper;
import com.bjpowernode.crm.workbench.mapper.RemarkMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author:luosheng
 * @Date:2023/2/7 17:07
 * @Description:
 */
@Service
public class RemarkServiceImpl implements RemarkService {

    /**
     * 实现详细功能中的备注功能
     *
     * @param activityId
     * @return
     */
    @Autowired
    private RemarkMapper remarkMapper;
    @Override
    public List<Remark> queryActivityRemarkForDetailByActivityId(String activityId) {
        return remarkMapper.selectActivityRemarkForDetailByActivityId(activityId);
    }
}
